package com.z8888q.zstopwatch.rewrite;

import android.os.Handler;
import android.os.Message;

import com.z8888q.zstopwatch.Zcountdown;

public class RewriteHandler2C extends Handler{
	private Zcountdown zcd;
	public RewriteHandler2C(Zcountdown zcd){
		this.zcd=zcd;
	}
	
	@Override public void handleMessage(Message msg){
		String s_s="";
		if(zcd.time_s<10)s_s="0";
//		zcd.mSwitcher_m.setText(s_m+zcd.time_m+"");
		zcd.mSwitcher.setText(s_s+zcd.time_s+"");
//		zcd.mSwitcher_ms.setText(s_ms+zcd.time_ms+"");
		
/*		zcd.mSwitcher.setText(String.valueOf(zcd.time_s));
		zcd.mSwitcher_m.setText(String.valueOf(zcd.time_m));
		zcd.mSwitcher_ms.setText(String.valueOf(zcd.time_ms));*/
		

	}
}
